Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController B

Total Complexity 86
Dependencies 6
Dependents 5
Total lines 662
Lines of code 364
Logical lines of code 213
Comment lines 130
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_files()
C
33 25 97
search_within_files()
A
39 13 63
get_file_rotations()
A
45 8 40
write_to_file()
S
54 6 20
delete_files()
S
58 5 17
rotate_file()
S
57 5 16
export_multiple_files()
S
51 4 26
get_files_by_id()
S
59 4 14
get_file_sources()
S
57 3 17
get_file_by_id()
S
59 3 16
get_file_size_limit()
S
66 3 8
convert_paths_to_objects()
S
65 2 10
export_single_file()
S
65 2 9
__construct()
S
79 1 3
generate_filename()
S
71 1 5
invalidate_cache()
S
80 1 3